package com.xiguanlezz.cn.common;

import lombok.ToString;

/**
 * @Author：习惯了种种
 * @CreateDate：2024/10/16 23:06
 * @Description：消息响应实体类
 */
@ToString(callSuper = true)
public class ResponseMessage extends Message<OperationResult> {

    @Override
    protected Class getMessageBodyClass(int opType) {
        return OperationType.fromOpType(opType).getOperationResultClazz();
    }
}
